﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using WebApiVersionControl.Helper;

namespace WebApiVersionControl.Controllers.V1
{
    public class ValuesController : ApiController
    {
        private readonly LogHelper log = new LogHelper();

        public ValuesController()
        {
        }

        public HttpResponseMessage Get()
        {
            log.WriteLog(@"C:\Log\\测试", "这是测试的内容v1");
            return new HttpResponseMessage()
            {
                Content = new StringContent(" 这是 V1 方法 ")
            };
        }
    }
}
